﻿<div class="item-flow-left"><a href="@Href("~/Authors")">@T("Rising Stars")</a></div>
<div class="item-flow-left"><a href="@Href("~/Authors?orderby=likes")">@T("Idols")</a></div>
<div class="item-flow-left"><a href="@Href("~/Authors")">@T("Followed")</a></div>
<div class="item-flow-right">
    <form action="@Href("~/Authors")" method="get" onsubmit="if($('#searchExpression').val() == '@T("Search author...")') $('#searchExpression').val('')">
        <input type="hidden" name="OrderBy" value="@Model.Search.OrderBy" />
        <input type="hidden" name="OrderDirection" value="@Model.Search.OrderDirection" />
        <input type="text" name="Expression" id="searchExpression"
            value="@(!String.IsNullOrEmpty(Model.Search.Expression) ? Model.Search.Expression : T("Search author..."))" 
            onfocus="if(this.value=='@T("Search author...")') {this.value=''};" 
            onblur="if(this.value=='') {this.value='@T("Search author...")';}"/>
        <input type="submit" id="searchButton" value="@T("Search")" />
    </form>
</div>